package cn.clx.basic.service;

import cn.clx.basic.query.BaseQuery;
import cn.clx.basic.util.PageList;

import java.util.List;

public interface IBaseService<T> {
    void save(T t);

    void update(T t);

    void removeById(Long id);

    List<T> queryAll();

    T queryById(Long id);

    //分页+高级
    PageList<T> queryPage(BaseQuery Query);

}
